package com.chengqj.blog.service;

import com.chengqj.blog.dao.pojo.TBlog;
import com.chengqj.blog.dao.pojo.TBlogPhoto;
import com.chengqj.blog.dao.pojo.TBlogRecommend;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: blog-web-server
 * @description: web服务端service客户端
 * @author: chengqj
 * @create: 2019-06-11 20:16
 **/
@Service
public class BlogServiceClient {
//    @Autowired
//    private IBlogService blogService;

    public PageInfo<TBlog> selectBlogCriterion(String type, int pageNum, int pageSize) {
//        return blogService.selectBlogCriterion(type, pageNum, pageSize);
        return null;
    }

    public List<TBlogRecommend> selectRecommendAll() {
//        return blogService.selectRecommendAll();
        return null;
    }

    public TBlog selectBlogById(int id) {
//        return blogService.selectBlogById(id);
        return null;
    }

    public PageInfo<TBlogPhoto> selectBlogPhotoByType(String type, int pageNum, int pageSize) {
//        return blogService.selectBlogPhotoByType(type, pageNum, pageSize);
        return null;
    }


    public PageInfo<TBlogPhoto> selectBlogPhotoByMain() {
//        return blogService.selectBlogPhotoByMain();
        return null;
    }
}
